import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  plugins: [vue()],
  server: {
    proxy: {
      '/api': {
        target: 'http://bjlapi.teastonetravel.vip',
        changeOrigin: true
      }
    },
    allowedHosts: [
      'bjl.teastonetravel.vip',
      'bjlapi.teastonetravel.vip'
    ]
  }
}) 